package com.alf.common.exception;

import com.alf.model.common.enums.AppHttpCodeEnum;

/**
 * Alf_Chou
 * version1.0
 */
public class CustomException extends RuntimeException{
    private AppHttpCodeEnum appHttpCodeEnum;

    public CustomException(AppHttpCodeEnum appHttpCodeEnum){
        this.appHttpCodeEnum = appHttpCodeEnum;
    }

    public AppHttpCodeEnum getAppHttpCodeEnum() {
        return appHttpCodeEnum;
    }
}
